package cn.edu.qzuie.artist.module.td.service.participateactivitiy;

import java.util.*;

import cn.edu.qzuie.artist.module.td.controller.admin.participateactivitiy.vo.*;
import cn.edu.qzuie.artist.module.td.dal.dataobject.participateactivitiy.ParticipateActivitiyDO;
import cn.edu.qzuie.artist.framework.common.pojo.PageResult;
import cn.edu.qzuie.artist.framework.common.pojo.PageParam;

import javax.validation.Valid;

/**
 * 参加活动 Service 接口
 *
 * @author 泉信管理员
 */
public interface ParticipateActivitiyService {

    /**
     * 创建参加活动
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    Long createParticipateActivitiy(@Valid ParticipateActivitiySaveReqVO createReqVO);

    /**
     * 更新参加活动
     *
     * @param updateReqVO 更新信息
     */
    void updateParticipateActivitiy(@Valid ParticipateActivitiySaveReqVO updateReqVO);

    /**
     * 删除参加活动
     *
     * @param id 编号
     */
    void deleteParticipateActivitiy(Long id);

    /**
     * 获得参加活动
     *
     * @param id 编号
     * @return 参加活动
     */
    ParticipateActivitiyDO getParticipateActivitiy(Long id);

    /**
     * 获得参加活动分页
     *
     * @param pageReqVO 分页查询
     * @return 参加活动分页
     */
    PageResult<ParticipateActivitiyDO> getParticipateActivitiyPage(ParticipateActivitiyPageReqVO pageReqVO);

    /**
     * 多表分页查询
     * @param pageReqVO
     * @return
     */
    PageResult<ParticipateActivitiyPagesRespVO> getParticipateActivitiyPageWithName(ParticipateActivitiyPageReqVO pageReqVO);
}